<?php
/**
 *
 * 获取会员开通状态
 *
 */
require_once(dirname(__FILE__).'/config.php');
CheckRank(0,0);

//查询状态
//$row = $dsql->GetOne("Select * From `#@__member` WHERE mid='".$cfg_ml->M_ID."' ");
//$zongshu = $row[c];


if($cfg_ml->M_Rank !=100){
    $msg = "您还没开启过VIP会员，不能享受会员特权";
    $arr = array(
	    "status"=>"1",
	    "msg"=>$msg
    );
    echo json_encode($arr);
}else{
    $msg = "你已经开通了VIP会员，享受会员特权吧";
    $arr = array(
	    "status"=>"2",
	    "msg"=>$msg
    );
	echo json_encode($arr);
    exit;
} 
?>